<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge, chrome=1">
<title><?php echo ($uname); ?> - MIUI论坛</title>
<meta name="keywords" content="$_SESSION['username']">
<meta name="description" content="<?php echo ($username); ?>
,MIUI论坛">
<meta name="generator" content="Discuz! X3">
<meta name="author" content="Discuz! Team and Comsenz UI Team">
<meta name="copyright" content="2001-2013 Comsenz Inc.">
<meta name="MSSmartTagsPreventParsing" content="True">
<meta http-equiv="MSThemeCompatible" content="Yes">
<!-- base href="http://www.miui.com/" -->
<link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/space/style_6_common.css">
<!-- <link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/bootstrap.min.css"> -->
<link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/space/style_6_home_space.css">
<script src="/miui/Public/Home/js/space/ga.js" async="" type="text/javascript"></script>
<!-- <script src="/miui/Public/Home/js/space/hm.js"></script> -->
<script src="/miui/Public/Home/js/jquery-1.8.3.min.js"></script>


<script type="text/javascript">var STYLEID = '6', STATICURL = 'static/', IMGDIR = 'http://static.bbs.miui.com/static/image/miui/base', VERHASH = 'nLJ', charset = 'utf-8', discuz_uid = '1126429842', cookiepre = 'MIUI_2132_', cookiedomain = '', cookiepath = '/', showusercard = '1', attackevasive = '0', disallowfloat = 'login|newthread', creditnotice = '1|经验|米,2|威望|米,3|贡献|米,4|小米粒|米', defaultstyle = '', REPORTURL = 'aHR0cDovL3d3dy5taXVpLmNvbS9ob21lLnBocD9tb2Q9c3BhY2UmdWlkPTExMjY0Mjk4NDImZG89aW5kZXg=', SITEURL = 'http://www.miui.com/', JSPATH = 'http://static.bbs.miui.com/static/js/', DYNAMICURL = '';</script>
<script src="/miui/Public/Home/js/space/common.js" type="text/javascript"></script>
<script src="/miui/Public/Home/js/space/home.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="/miui/Public/Home/css/space/style_6_css_space.css">
<link id="style_css" rel="stylesheet" type="text/css" href="/miui/Public/Home/css/space/style.css">
<style id="diy_style">
</style>
</head>
<body id="space" onkeydown="if(event.keyCode==27) return false;">
<div id="append_parent">
</div>
<div id="ajaxwaitid">
</div>
<div id="toptb" class="cl">
	<div class="y">
		<a href="<?php echo U('Space/index',array('uid'=>$_SESSION['uid']));?>" class="xw1" target="_blank" title="访问我的空间"><?php echo (session('username')); ?></a>
		<a initialized="true" href="javascript:;" id="myspace" class="showmenu cur1" onmouseover="showMenu(this.id);">快捷导航</a>
		<a href="http://www.miui.com/home.php?mod=spacecp">设置</a>
		<a href="http://www.miui.com/home.php?mod=space&amp;do=pm" id="pm_ntc" target="_blank">消息</a>
		<a href="http://www.miui.com/home.php?mod=space&amp;do=notice" id="myprompt" target="_blank">提醒</a><span id="myprompt_check"></span>
		<a href="<?php echo U('User/logout');?>">退出</a>
		<a id="diy-tg" href="javascript:openDiy();" title="装扮空间">DIY</a>
	</div>
	<div class="z">
		<a href="<?php echo U('Index/index');?>" title="MIUI论坛" class="xw1">MIUI论坛</a>
		<a style="background-position:80px 12px;" href="<?php echo U('Index/index');?>" id="navs" class="showmenu" onmouseover="showMenu(this.id);">返回论坛首页</a>
	</div>
</div>
<div id="hd" class="wp cl">
	<h2 id="spaceinfoshow"><strong id="spacename" class="mbn">
	<?php echo ($username); ?>的个人空间</strong>
	<span id="spacedescription" class="xs1 xw0 mtn"></span>
	</h2>
	<div id="nv">
		<ul>
			<li><a href="<?php echo U('Space/index',array('uid'=>$_GET['uid']));?>">空间首页</a></li>
			<li><a href="<?php echo u('Space/dongtai',array('uid'=>$_GET['uid']));?>">动态</a></li>
			
			<li><a href="<?php echo U('Space/album',array('uid'=>$_GET['uid']));?>">相册</a></li>
			<li><a href="<?php echo U('Space/fav',array('uid'=>$_GET['uid']));?>">个人收藏</a></li>
			
			<li><a href="<?php echo U('Space/liuyan',array('uid'=>$_GET['uid']));?>">留言板</a></li>


			<li><a href="<?php echo U('Space/personal',array('uid'=>$_GET['uid']));?>">个人资料</a></li>
			<li><a href="<?php echo U('User/secret',array('uid'=>$_GET['uid']));?>">密码安全</a></li>

		</ul>
	</div>
</div>
<div class="p_pop h_pop" id="mn_userapp_menu" style="display: none">
</div>

<div id="ct" class="wp w cl">


	
	
<div style="min-height: 467px;" id="ct" class="ct2 wp cl">
<div class="mn">
<div class="bm">
<div class="bm_h">
<h1 class="mt">收藏</h1>
</div>
<div class="bm_c">

<div id="feed_div" class="e">
	<?php if($tag == 0): ?><span style="margin-left:300px;font-size:16px;">暂无数据!</span>
	<?php else: ?>
	<table width="600" >
		<tr>
			<th style="text-align:center;font-size:16px;">帖子</th>
			<th style="text-align:center;font-size:16px;">板块</th>
			<th style="text-align:center;font-size:16px;">发布时间</th>
			<th style="text-align:center;font-size:16px;">收藏时间</th>
			<th style="text-align:center;font-size:16px;">操作</th>
		</tr>
		<?php if(is_array($data)): $i = 0; $__LIST__ = $data;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr height="30">
				<td style="text-align:center;"><?php echo ($vo["intitle"]); ?></td>
				<td style="text-align:center;"><?php echo ($vo["type"]); ?></td>
				<td style="text-align:center;"><?php echo (date("Y-m-d H:i:s",$vo['intime'] )); ?></td>
				<td style="text-align:center;"><?php echo (date("Y-m-d H:i:s",$vo['ftime'] )); ?></td>
				<td style="text-align:center;"><a href="<?php echo U('Space/delfav',array('fid'=>$vo['fid']));?>">删除</a></td>
			</tr><?php endforeach; endif; else: echo "" ;endif; ?>
	</table><?php endif; ?>
</div>

</div>
</div>
</div>
<div class="sd"><div id="pcd" class="bm cl"><div class="bm_c">
<div class="hm">
					<p>
						<img src="/miui/Public/Home/image/space/touxiang/<?php echo ($image); ?>" width="120">
					</p>
					<h2 class="mbn"><a href="<?php echo U('Space/index',array('uid'=>$_GET['uid']));?>" target="_blank"><?php echo ($username); ?></a></h2>
				</div>
				<ul class="xl xl2 cl ul_list">
					<li class="ul_avt"><a href="<?php echo U('Space/edithead',array('uid'=>$_SESSION['uid']));?>">编辑头像</a></li>
					<li class="ul_profile"><a href="<?php echo U('Space/ziliao',array('uid'=>$_SESSION['uid']));?>">更新资料</a></li>
				</ul>
</div>
</div>
</div>





</div>
<script type="text/javascript">
function succeedhandle_followmod(url, msg, values) {
var fObj = $('followmod');
if(values['type'] == 'add') {
fObj.innerHTML = '取消收听';
fObj.className = 'flw_btn_unfo';
fObj.href = 'home.php?mod=spacecp&ac=follow&op=del&fuid='+values['fuid'];
} else if(values['type'] == 'del') {
fObj.innerHTML = '收听TA';
fObj.className = 'flw_btn_fo';
fObj.href = 'home.php?mod=spacecp&ac=follow&op=add&hash=1e15e143&fuid='+values['fuid'];
}
}
</script>
<div id="ft" class="cl">
	<!--页面高度不能撑满屏幕时，设置footer的位置在最底边-->
	<script>
var screenHeight = screenWidth = 0;
if(document.documentElement.clientHeight){
screenHeight = document.documentElement.clientHeight;
screenWidth = document.documentElement.clientWidth;
}else{
screenWidth = document.body.clientWidth;
screenHeight = document.body.clientHeight;
}
var fttop = document.getElementById('ft').offsetTop;
if((fttop+65)<screenHeight){
if(document.getElementById('wp')){
var header_footer_height = document.getElementById('hd').offsetHeight + document.getElementById('ft').offsetHeight;				   
document.getElementById('wp').style.minHeight = (screenHeight-header_footer_height - 21) + 'px';
}else if(document.getElementById('ct')){
var header_footer_height = document.getElementById('toptb').offsetHeight + document.getElementById('hd').offsetHeight + document.getElementById('ft').offsetHeight;				   
document.getElementById('ct').style.minHeight = (screenHeight-header_footer_height - 66) + 'px';
}else{
document.getElementById('ft').style.position = 'absolute';
document.getElementById('ft').style.top = (screenHeight-66) + 'px';
document.getElementById('ft').style.width = '100%';
}
}
	</script>
	<!--设置footer end-->
	<div class="wp" id="footer">
		<div id="flk">
			<div style="float: left;">
				<img src="/miui/Public/Home/image/space/footer_title.png">
			</div>
			<div style="display: inline;">
				<?php if(is_array($youqing)): $i = 0; $__LIST__ = $youqing;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><a href="<?php echo ($vo["address"]); ?>" target="_blank"><span class="pipe">&nbsp;</span><?php echo ($vo["name"]); ?></a><?php endforeach; endif; else: echo "" ;endif; ?>
			</div>
			<div style="float: right;color: #7e7e7e;">
Copyright © 2016 MIUI
			</div>
			<div style="padding-left: 28px; color: #7e7e7e;">
京ICP备10046444号 | 京公网安备11010802020134号 | 京ICP证110507号
			</div>

		</div>
	</div>
</div>
<div id="scrolltop">
	<span hidefocus="true"><a title="返回顶部" onclick="window.scrollTo('0','0')" class="scrolltopa"><b>返回顶部</b></a></span>
</div>
<script type="text/javascript">_attachEvent(window, 'scroll', function () { showTopLink(); });checkBlind();</script>
<div id="discuz_tips" style="display:none;">
</div>
<script type="text/javascript">
				var tipsinfo = '10755402|X3|0.6||0||1126429842|10|1469171709|45268a1b182ba9deed5516c970a4ee96|2';
			</script>
<script src="/miui/Public/Home/js/space/discuz_tips.js" type="text/javascript" charset="UTF-8"></script>
</body>
</html>